package view.shop
{
import values.shop.ShopGroupTypeValue;

import view.component.render.NavItemRenderProxy;

/**
 * ShopSubNavRenderProxy
 * @author jliang
 *
 */
public class ShopSubNavRenderProxy extends NavItemRenderProxy
{
    //==========================================================================
    //  Constructor
    //==========================================================================
    public function ShopSubNavRenderProxy()
    {
        super();
    }
    //==========================================================================
    //  Overridden methods: RepeaterRenderProxy
    //==========================================================================
    protected var vo:ShopGroupTypeValue;
    
    override public function set data(value:*):void
    {
        vo = value;
        
        skin.label.text = vo.name;
        
        selected = false;
    }
    
    override public function get data():*
    {
        return vo;
    }
}
}